<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>WingPick Pro - 原型预览</title>
    <!-- Tailwind CSS -->
    <script src="https://cdn.tailwindcss.com"></script>
    <!-- FontAwesome -->
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <!-- 自定义配置 -->
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#1976D2',
                        'primary-variant': '#0D47A1',
                        secondary: '#FF6F00',
                        'secondary-variant': '#E65100',
                        background: '#F5F5F5',
                        surface: '#FFFFFF',
                        'on-surface': '#212121',
                        'on-surface-variant': '#757575',
                        border: '#E0E0E0'
                    }
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .phone-frame {
                @apply bg-surface rounded-3xl shadow-lg overflow-hidden border-8 border-black max-w-xs mx-auto;
            }
            .phone-screen {
                @apply relative overflow-hidden w-full aspect-[9/19.5] bg-background;
            }
            .phone-iframe {
                @apply w-full h-full border-0;
            }
            .page-card {
                @apply bg-white rounded-lg overflow-hidden shadow-md transition-all duration-300 hover:shadow-lg;
            }
        }
    </style>
</head>
<body class="bg-gray-100 min-h-screen">
    <!-- 页面头部 -->
    <header class="bg-primary text-white shadow-md">
        <div class="container mx-auto px-4 py-6">
            <h1 class="text-3xl font-bold text-center">WingPick Pro 原型预览</h1>
            <p class="text-center mt-2 opacity-90">国产民用直升机销售报价系统</p>
        </div>
    </header>

    <!-- 主要内容区 -->
    <main class="container mx-auto px-4 py-8">
        <!-- 项目介绍 -->
        <div class="bg-white rounded-lg shadow-md p-6 mb-8">
            <div class="flex items-center mb-4">
                <i class="fa fa-info-circle text-primary text-2xl mr-3"></i>
                <h2 class="text-xl font-bold">项目介绍</h2>
            </div>
            <p class="text-gray-700">WingPick Pro 是一款专为直升机销售人员设计的移动端报价工具，能够帮助销售人员快速生成准确的产品报价单。本原型展示了应用的核心功能和用户界面，采用现代化的 Android 设计风格，确保良好的用户体验。</p>
            <div class="mt-4 flex flex-wrap gap-2">
                <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm">移动应用</span>
                <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm">销售工具</span>
                <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm">报价系统</span>
                <span class="px-3 py-1 bg-primary/10 text-primary rounded-full text-sm">Android 风格</span>
            </div>
        </div>

        <!-- 核心功能原型 -->
        <section class="mb-10">
            <h2 class="text-2xl font-bold mb-6 flex items-center">
                <i class="fa fa-star text-secondary mr-2"></i>
                核心功能原型
            </h2>
            
            <!-- 主要界面展示 - 单列布局 -->
            <div class="space-y-8">
                <!-- 首页 -->
                <div class="page-card">
                    <div class="bg-gray-50 p-3 border-b">
                        <div class="flex justify-between items-center">
                            <h3 class="font-semibold flex items-center">
                                <i class="fa fa-home text-primary mr-2"></i>
                                首页 (index.html)
                            </h3>
                            <a href="index.html" target="_blank" class="text-primary text-sm flex items-center">
                                <span>查看详情</span>
                                <i class="fa fa-external-link ml-1"></i>
                            </a>
                        </div>
                    </div>
                    <div class="phone-frame mt-4 mb-4">
                        <div class="phone-screen">
                            <iframe class="phone-iframe" src="index.html"></iframe>
                        </div>
                    </div>
                    <div class="p-4 bg-gray-50">
                        <p class="text-sm text-gray-600">首页展示产品库、配置选择和报价管理区域，提供快速进入各个功能模块的入口，以及生成报价单的主要操作按钮。</p>
                    </div>
                </div>

                <!-- 产品列表 -->
                <div class="page-card">
                    <div class="bg-gray-50 p-3 border-b">
                        <div class="flex justify-between items-center">
                            <h3 class="font-semibold flex items-center">
                                <i class="fa fa-th-large text-primary mr-2"></i>
                                产品列表 (product-list.html)
                            </h3>
                            <a href="product-list.html" target="_blank" class="text-primary text-sm flex items-center">
                                <span>查看详情</span>
                                <i class="fa fa-external-link ml-1"></i>
                            </a>
                        </div>
                    </div>
                    <div class="phone-frame mt-4 mb-4">
                        <div class="phone-screen">
                            <iframe class="phone-iframe" src="product-list.html"></iframe>
                        </div>
                    </div>
                    <div class="p-4 bg-gray-50">
                        <p class="text-sm text-gray-600">展示所有可选直升机产品，支持搜索和筛选，显示产品图片、型号、类型、座位数和价格等关键信息。</p>
                    </div>
                </div>

                <!-- 产品详情 -->
                <div class="page-card">
                    <div class="bg-gray-50 p-3 border-b">
                        <div class="flex justify-between items-center">
                            <h3 class="font-semibold flex items-center">
                                <i class="fa fa-info-circle text-primary mr-2"></i>
                                产品详情 (product-detail.html)
                            </h3>
                            <a href="product-detail.html" target="_blank" class="text-primary text-sm flex items-center">
                                <span>查看详情</span>
                                <i class="fa fa-external-link ml-1"></i>
                            </a>
                        </div>
                    </div>
                    <div class="phone-frame mt-4 mb-4">
                        <div class="phone-screen">
                            <iframe class="phone-iframe" src="product-detail.html"></iframe>
                        </div>
                    </div>
                    <div class="p-4 bg-gray-50">
                        <p class="text-sm text-gray-600">详细展示单个直升机产品信息，包括图片轮播、基本参数、产品简介、技术规格和适用场景等。</p>
                    </div>
                </div>

                <!-- 报价单预览 -->
                <div class="page-card">
                    <div class="bg-gray-50 p-3 border-b">
                        <div class="flex justify-between items-center">
                            <h3 class="font-semibold flex items-center">
                                <i class="fa fa-file-text-o text-primary mr-2"></i>
                                报价单预览 (quote-preview.html)
                            </h3>
                            <a href="quote-preview.html" target="_blank" class="text-primary text-sm flex items-center">
                                <span>查看详情</span>
                                <i class="fa fa-external-link ml-1"></i>
                            </a>
                        </div>
                    </div>
                    <div class="phone-frame mt-4 mb-4">
                        <div class="phone-screen">
                            <iframe class="phone-iframe" src="quote-preview.html"></iframe>
                        </div>
                    </div>
                    <div class="p-4 bg-gray-50">
                        <p class="text-sm text-gray-600">展示生成的报价单完整内容，支持修改配置、分享和导出PDF功能，显示客户信息、产品配置和价格明细。</p>
                    </div>
                </div>
            </div>
        </section>

        <!-- 配置流程原型 -->
        <section class="mb-10">
            <h2 class="text-2xl font-bold mb-6 flex items-center">
                <i class="fa fa-cogs text-secondary mr-2"></i>
                配置流程原型
            </h2>
            
            <!-- 配置流程界面 - 多列布局 -->
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-6">
                <!-- 发动机配置 -->
                <div class="page-card">
                    <div class="bg-gray-50 p-3 border-b">
                        <div class="flex justify-between items-center">
                            <h3 class="font-semibold flex items-center text-sm">
                                <i class="fa fa-cog text-primary mr-2"></i>
                                发动机配置
                            </h3>
                            <a href="config-engine.html" target="_blank" class="text-primary text-xs flex items-center">
                                <span>查看</span>
                                <i class="fa fa-external-link ml-1"></i>
                            </a>
                        </div>
                    </div>
                    <div class="p-2">
                        <div class="phone-frame">
                            <div class="phone-screen" style="max-height: 500px;">
                                <iframe class="phone-iframe" src="config-engine.html"></iframe>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 内饰配置 -->
                <div class="page-card">
                    <div class="bg-gray-50 p-3 border-b">
                        <div class="flex justify-between items-center">
                            <h3 class="font-semibold flex items-center text-sm">
                                <i class="fa fa-paint-brush text-primary mr-2"></i>
                                内饰配置
                            </h3>
                            <a href="config-interior.html" target="_blank" class="text-primary text-xs flex items-center">
                                <span>查看</span>
                                <i class="fa fa-external-link ml-1"></i>
                            </a>
                        </div>
                    </div>
                    <div class="p-2">
                        <div class="phone-frame">
                            <div class="phone-screen" style="max-height: 500px;">
                                <iframe class="phone-iframe" src="config-interior.html"></iframe>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 设备配置 -->
                <div class="page-card">
                    <div class="bg-gray-50 p-3 border-b">
                        <div class="flex justify-between items-center">
                            <h3 class="font-semibold flex items-center text-sm">
                                <i class="fa fa-wrench text-primary mr-2"></i>
                                设备配置
                            </h3>
                            <a href="config-equipment.html" target="_blank" class="text-primary text-xs flex items-center">
                                <span>查看</span>
                                <i class="fa fa-external-link ml-1"></i>
                            </a>
                        </div>
                    </div>
                    <div class="p-2">
                        <div class="phone-frame">
                            <div class="phone-screen" style="max-height: 500px;">
                                <iframe class="phone-iframe" src="config-equipment.html"></iframe>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 服务与保修 -->
                <div class="page-card">
                    <div class="bg-gray-50 p-3 border-b">
                        <div class="flex justify-between items-center">
                            <h3 class="font-semibold flex items-center text-sm">
                                <i class="fa fa-shield text-primary mr-2"></i>
                                服务与保修
                            </h3>
                            <a href="config-service.html" target="_blank" class="text-primary text-xs flex items-center">
                                <span>查看</span>
                                <i class="fa fa-external-link ml-1"></i>
                            </a>
                        </div>
                    </div>
                    <div class="p-2">
                        <div class="phone-frame">
                            <div class="phone-screen" style="max-height: 500px;">
                                <iframe class="phone-iframe" src="config-service.html"></iframe>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>

        <!-- 设计规范 -->
        <section class="mb-10">
            <div class="bg-white rounded-lg shadow-md p-6">
                <h2 class="text-xl font-bold mb-4 flex items-center">
                    <i class="fa fa-paint-brush text-secondary mr-2"></i>
                    设计规范
                </h2>
                <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                    <div>
                        <h3 class="font-semibold mb-2 text-primary">颜色规范</h3>
                        <div class="flex flex-wrap gap-2 mb-4">
                            <div class="flex items-center">
                                <div class="w-6 h-6 bg-primary rounded-full mr-2"></div>
                                <span class="text-sm">主色: #1976D2</span>
                            </div>
                            <div class="flex items-center">
                                <div class="w-6 h-6 bg-secondary rounded-full mr-2"></div>
                                <span class="text-sm">辅助色: #FF6F00</span>
                            </div>
                            <div class="flex items-center">
                                <div class="w-6 h-6 bg-background rounded-full mr-2 border border-gray-300"></div>
                                <span class="text-sm">背景: #F5F5F5</span>
                            </div>
                            <div class="flex items-center">
                                <div class="w-6 h-6 bg-surface rounded-full mr-2 border border-gray-300"></div>
                                <span class="text-sm">表面: #FFFFFF</span>
                            </div>
                        </div>
                    </div>
                    <div>
                        <h3 class="font-semibold mb-2 text-primary">设计风格</h3>
                        <ul class="list-disc list-inside text-sm text-gray-700">
                            <li>Android Material Design 风格</li>
                            <li>轻快明亮的商务风格</li>
                            <li>圆角卡片设计</li>
                            <li>清晰的层次结构</li>
                            <li>响应式布局适配</li>
                        </ul>
                    </div>
                </div>
            </div>
        </section>
    </main>

    <!-- 页脚 -->
    <footer class="bg-primary text-white py-6">
        <div class="container mx-auto px-4 text-center">
            <p class="mb-2">WingPick Pro - 直升机销售报价系统</p>
            <p class="text-sm opacity-80">© 2023 中国直升机设计研究所 版权所有</p>
        </div>
    </footer>

    <script>
        // 调整iframe高度以适应内容
        document.addEventListener('DOMContentLoaded', function() {
            const iframes = document.querySelectorAll('.phone-iframe');
            iframes.forEach(iframe => {
                // 设置iframe加载完成后的事件
                iframe.onload = function() {
                    try {
                        // 获取iframe内容的高度
                        const height = iframe.contentWindow.document.body.scrollHeight;
                        // 设置iframe的高度
                        iframe.style.height = height + 'px';
                    } catch (e) {
                        // 跨域时可能会报错，忽略
                        console.log('Cannot access iframe content due to cross-origin policy');
                    }
                };
            });
        });
    </script>
</body>
</html>